{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\myogo\Princeton Dropbox\Motohiro Yogo\Koijen Yogo - International\JPE\Replication\Code\5 Decomposition\Tables0.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}31 Oct 2025, 20:17:25
{txt}
{com}. /* Load data */
> 
> u Decomposition0, clear;
{txt}
{com}. /* Construct weights */
> 
> egen Tmarket = total(market), missing by(year type);
{txt}
{com}. gen mweight = market/Tmarket;
{txt}
{com}. drop Tmarket;
{txt}
{com}. /* Table: Exchange rate */
> 
> qui forval i = 1/9 {c -(};
{txt}
{com}. /* Output table */
> 
> esttab, b(%8.2f) se(%8.2f) plain
>         keep(DLfx);
{res}
{txt}                    DLfx1        DLfx2        DLfx3        DLfx4        DLfx5        DLfx6        DLfx7        DLfx8        DLfx9
{txt}                     b/se         b/se         b/se         b/se         b/se         b/se         b/se         b/se         b/se
{txt}DLfx        {res}         0.02         0.16         0.10         0.32         0.21         0.22        -0.05         0.02         0.82{txt}
            {res}         0.05         0.06         0.01         0.09         0.04         0.06         0.02         0.01         0.07{txt}
{txt}N           {res}          399          399          399          399          399          399          399          399          399{txt}

{com}. eststo clear;
{txt}
{com}. /* Table: Short-term rate */
> 
> qui forval i = 1/9 {c -(};
{txt}
{com}. /* Output table */
> 
> esttab, b(%8.2f) se(%8.2f) plain
>         keep(Dyield);
{res}
{txt}                  Dyield1      Dyield2      Dyield3      Dyield4      Dyield5      Dyield6      Dyield7      Dyield8      Dyield9
{txt}                     b/se         b/se         b/se         b/se         b/se         b/se         b/se         b/se         b/se
{txt}Dyield      {res}        -0.00         0.14         0.00         0.45         0.17         0.03         0.21         0.00         0.86{txt}
            {res}         0.00         0.06            .         0.14         0.06         0.02         0.06         0.00         0.06{txt}
{txt}N           {res}          416          416          416          416          416          416          416          416          416{txt}

{com}. eststo clear;
{txt}
{com}. /* Table: Long-term yield */
> 
> qui forval i = 1/9 {c -(};
{txt}
{com}. /* Output table */
> 
> esttab, b(%8.2f) se(%8.2f) plain
>         keep(Dyield);
{res}
{txt}                  Dyield1      Dyield2      Dyield3      Dyield4      Dyield5      Dyield6      Dyield7      Dyield8      Dyield9
{txt}                     b/se         b/se         b/se         b/se         b/se         b/se         b/se         b/se         b/se
{txt}Dyield      {res}         0.54         0.43         0.02        -0.21         0.16        -0.02         0.09        -0.00         0.03{txt}
            {res}         0.18         0.10         0.03         0.19         0.06         0.02         0.07         0.01         0.26{txt}
{txt}N           {res}          603          603          603          603          603          603          603          603          603{txt}

{com}. eststo clear;
{txt}
{com}. /* Table: Book-to-market equity */
> 
> qui forval i = 1/9 {c -(};
{txt}
{com}. /* Output table */
> 
> esttab, b(%8.2f) se(%8.2f) plain
>         keep(DLmb);
{res}
{txt}                    DLmb1        DLmb2        DLmb3        DLmb4        DLmb5        DLmb6        DLmb7        DLmb8        DLmb9
{txt}                     b/se         b/se         b/se         b/se         b/se         b/se         b/se         b/se         b/se
{txt}DLmb        {res}         0.19         0.21        -0.01         0.13         0.26         0.09         0.12        -0.00         0.60{txt}
            {res}         0.07         0.03         0.01         0.07         0.04         0.02         0.05         0.00         0.07{txt}
{txt}N           {res}          603          603          603          603          603          603          603          603          603{txt}

{com}. eststo clear;
{txt}
{com}. log close;
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\myogo\Princeton Dropbox\Motohiro Yogo\Koijen Yogo - International\JPE\Replication\Code\5 Decomposition\Tables0.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}31 Oct 2025, 20:17:28
{txt}{.-}
{smcl}
{txt}{sf}{ul off}